package core.command
{
	import core.event.SocketEventID;
	import core.event.UnoEvent;
	import core.event.ViewEventID;

	public class PlayFromCommand extends SuperCommand
	{
		public function PlayFromCommand()
		{
			socketEvent = SocketEventID.PLAY_FROM;
			viewEvent = ViewEventID.PLAY_FROM;
		}
		
		override public function success(e:UnoEvent):void
		{
			db.tableList[db.loginUser.table]["currentSeat"] = e.data.seatID;
		}
	}
}